Skip to content

TwoWayConverterPair record

Attributes: [EditorBrowsable(EditorBrowsableState.1)] [DebuggerDisplay("TwoWayConverterPair: {typeof(TSourceProp).Name,nq} <-> {typeof(TTargetProp).Name,nq}")]

Defined in

Namespace: ReactiveUI.Binding.Reactive.Fallback Assembly: ReactiveUI.Binding.Reactive.dll Full name: ReactiveUI.Binding.Reactive.Fallback.TwoWayConverterPair<T1, T2> Modifiers: public sealed

Summary

View source

The pair of conversions a two-way binding needs to move a value in either direction.

Applies to

net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-ios18.0, net9.0-macos15.0, net9.0-desktop1.0, net8.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, netstandard2.1, net481, net462, net471

Class hierarchy
classDiagram
class TwoWayConverterPair~T1,T2~
class IEquatable~TwoWayConverterPair~TSourceProp, TTargetProp~~ {
    <>
}
IEquatable~TwoWayConverterPair~TSourceProp, TTargetProp~~ <|.. TwoWayConverterPair~T1,T2~

Implements: IEquatable>

Remarks

        The two conversions only ever travel together, so they are carried as one value rather than as two
        parameters threaded through every overload that forwards them.
        

Constructors

NameSummary
.ctorThe pair of conversions a two-way binding needs to move a value in either direction.

Properties

NameSummary
ForwardConverts a source value to the target's type.
ReverseConverts a target value back to the source's type.

Methods

NameSummary
ToString
GetHashCode
Equals
Deconstruct

Operators

NameSummary
static op_Inequality
static op_Equality
Inherited members